<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%--
  Created by IntelliJ IDEA.
  User: IFT8
  Date: 2015/3/29
  Time: 22:26
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title></title>
</head>
<body>
<style type="text/css">
    li {
        list-style-type: none
    }
</style>
<%
    List<String> list = new ArrayList<String>();
    list.add("1级菜单");
    list.add("2级菜单");
    list.add("3级菜单");
    list.add("4级菜单");
    pageContext.setAttribute("list", list);
%>
<ul>
    <c:forEach items="${list}" var="content">
        <li>${content}</li>
    </c:forEach>
</ul>
</body>
</html>
